import React, { useContext } from 'react'
import context from './context'
export default function Test() {
  // result就是接收的context数据
  const result = useContext(context)
  return <div>Test,{result}</div>
}
